import request from '@/utils/request'

// 调用接口获取数据
export const getIndex = () => {
  return request.get('/page/detail')
}

// 获取分类数据
export const getCategoryData = () => {
  return request.get('/category/list')
}

// 获取个人信息
export const getUserInfoDetail = () => {
  return request.get('/user/info')
}
